package ModelLayer;
import java.util.Date;

public class SalesOrder {
	
	private int SaleID;
	private Date date;
	private double amount;
	private String deliveryStatus;
	private Date deliveryDate;
	private Customer customer; 
	private Boolean club;
	private int invoiceNo;
	
	public SalesOrder () {  }
	
	public SalesOrder(int SaleID) {
		this.SaleID = SaleID;
	}
	
	public SalesOrder(int SaleID, Date date, double amount, String deliveryStatus, Date deliveryDate, Customer customer, Boolean club, int invoiceNo) {
		this.SaleID = SaleID;
		this.date = date;
		this.amount = amount;
		this.deliveryStatus = deliveryStatus;
		this.deliveryDate = deliveryDate;
		this.customer = customer;
		this.club = club;
		this.invoiceNo = invoiceNo;
	}
	
	//set methods
	
	public void setSaleID(int SaleID){
		this.SaleID = SaleID;
	}
	
	public void setdate(Date date){
		this.date = date;
	}
	
	public void setamount(double amount) {
		this.amount = amount;
	}
	
	public void setdeliveryStatus(String deliveryStatus){
		this.deliveryStatus = deliveryStatus;
	}
	
	public void setdeliveryDate(Date deliveryDate){
		this.deliveryDate = deliveryDate;
	}
	
	public void setCustomer(Customer customer){
		this.customer = customer;
	}
	
	public void setclub (Boolean club){
		this.club = club;
	}
	
	public void setinvoiceNo(int invoiceNo){
		this.invoiceNo = invoiceNo;
	}
	
	//get methods
	
	public int getSaleID() {
		return SaleID;
	}
	public Date getdate(){
		return date;
	}
	public double getamount(){
		return amount;				
	}
	
	public String getdeliveryStatus() {
		return deliveryStatus;
	}
	
	public Date getdeliveryDate(){
		return deliveryDate;
	}
	
	public Customer getCustomer(){
		return customer;
	}
	
	public Boolean getclub(){
		return club;
	}
	
	public int getinvoiceNo(){
		return invoiceNo;
	}

}
